package com.wenwu.common.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class RelicsMRepairExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RelicsMRepairExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIntegrityIdIsNull() {
            addCriterion("integrity_id is null");
            return (Criteria) this;
        }

        public Criteria andIntegrityIdIsNotNull() {
            addCriterion("integrity_id is not null");
            return (Criteria) this;
        }

        public Criteria andIntegrityIdEqualTo(Integer value) {
            addCriterion("integrity_id =", value, "integrityId");
            return (Criteria) this;
        }

        public Criteria andIntegrityIdNotEqualTo(Integer value) {
            addCriterion("integrity_id <>", value, "integrityId");
            return (Criteria) this;
        }

        public Criteria andIntegrityIdGreaterThan(Integer value) {
            addCriterion("integrity_id >", value, "integrityId");
            return (Criteria) this;
        }

        public Criteria andIntegrityIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("integrity_id >=", value, "integrityId");
            return (Criteria) this;
        }

        public Criteria andIntegrityIdLessThan(Integer value) {
            addCriterion("integrity_id <", value, "integrityId");
            return (Criteria) this;
        }

        public Criteria andIntegrityIdLessThanOrEqualTo(Integer value) {
            addCriterion("integrity_id <=", value, "integrityId");
            return (Criteria) this;
        }

        public Criteria andIntegrityIdIn(List<Integer> values) {
            addCriterion("integrity_id in", values, "integrityId");
            return (Criteria) this;
        }

        public Criteria andIntegrityIdNotIn(List<Integer> values) {
            addCriterion("integrity_id not in", values, "integrityId");
            return (Criteria) this;
        }

        public Criteria andIntegrityIdBetween(Integer value1, Integer value2) {
            addCriterion("integrity_id between", value1, value2, "integrityId");
            return (Criteria) this;
        }

        public Criteria andIntegrityIdNotBetween(Integer value1, Integer value2) {
            addCriterion("integrity_id not between", value1, value2, "integrityId");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdIsNull() {
            addCriterion("m_relics_id is null");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdIsNotNull() {
            addCriterion("m_relics_id is not null");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdEqualTo(Integer value) {
            addCriterion("m_relics_id =", value, "mRelicsId");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdNotEqualTo(Integer value) {
            addCriterion("m_relics_id <>", value, "mRelicsId");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdGreaterThan(Integer value) {
            addCriterion("m_relics_id >", value, "mRelicsId");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("m_relics_id >=", value, "mRelicsId");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdLessThan(Integer value) {
            addCriterion("m_relics_id <", value, "mRelicsId");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdLessThanOrEqualTo(Integer value) {
            addCriterion("m_relics_id <=", value, "mRelicsId");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdIn(List<Integer> values) {
            addCriterion("m_relics_id in", values, "mRelicsId");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdNotIn(List<Integer> values) {
            addCriterion("m_relics_id not in", values, "mRelicsId");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdBetween(Integer value1, Integer value2) {
            addCriterion("m_relics_id between", value1, value2, "mRelicsId");
            return (Criteria) this;
        }

        public Criteria andMRelicsIdNotBetween(Integer value1, Integer value2) {
            addCriterion("m_relics_id not between", value1, value2, "mRelicsId");
            return (Criteria) this;
        }

        public Criteria andRelicsNameIsNull() {
            addCriterion("relics_name is null");
            return (Criteria) this;
        }

        public Criteria andRelicsNameIsNotNull() {
            addCriterion("relics_name is not null");
            return (Criteria) this;
        }

        public Criteria andRelicsNameEqualTo(String value) {
            addCriterion("relics_name =", value, "relicsName");
            return (Criteria) this;
        }

        public Criteria andRelicsNameNotEqualTo(String value) {
            addCriterion("relics_name <>", value, "relicsName");
            return (Criteria) this;
        }

        public Criteria andRelicsNameGreaterThan(String value) {
            addCriterion("relics_name >", value, "relicsName");
            return (Criteria) this;
        }

        public Criteria andRelicsNameGreaterThanOrEqualTo(String value) {
            addCriterion("relics_name >=", value, "relicsName");
            return (Criteria) this;
        }

        public Criteria andRelicsNameLessThan(String value) {
            addCriterion("relics_name <", value, "relicsName");
            return (Criteria) this;
        }

        public Criteria andRelicsNameLessThanOrEqualTo(String value) {
            addCriterion("relics_name <=", value, "relicsName");
            return (Criteria) this;
        }

        public Criteria andRelicsNameLike(String value) {
            addCriterion("relics_name like", value, "relicsName");
            return (Criteria) this;
        }

        public Criteria andRelicsNameNotLike(String value) {
            addCriterion("relics_name not like", value, "relicsName");
            return (Criteria) this;
        }

        public Criteria andRelicsNameIn(List<String> values) {
            addCriterion("relics_name in", values, "relicsName");
            return (Criteria) this;
        }

        public Criteria andRelicsNameNotIn(List<String> values) {
            addCriterion("relics_name not in", values, "relicsName");
            return (Criteria) this;
        }

        public Criteria andRelicsNameBetween(String value1, String value2) {
            addCriterion("relics_name between", value1, value2, "relicsName");
            return (Criteria) this;
        }

        public Criteria andRelicsNameNotBetween(String value1, String value2) {
            addCriterion("relics_name not between", value1, value2, "relicsName");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityLevelIsNull() {
            addCriterion("ori_integrity_level is null");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityLevelIsNotNull() {
            addCriterion("ori_integrity_level is not null");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityLevelEqualTo(String value) {
            addCriterion("ori_integrity_level =", value, "oriIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityLevelNotEqualTo(String value) {
            addCriterion("ori_integrity_level <>", value, "oriIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityLevelGreaterThan(String value) {
            addCriterion("ori_integrity_level >", value, "oriIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityLevelGreaterThanOrEqualTo(String value) {
            addCriterion("ori_integrity_level >=", value, "oriIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityLevelLessThan(String value) {
            addCriterion("ori_integrity_level <", value, "oriIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityLevelLessThanOrEqualTo(String value) {
            addCriterion("ori_integrity_level <=", value, "oriIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityLevelLike(String value) {
            addCriterion("ori_integrity_level like", value, "oriIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityLevelNotLike(String value) {
            addCriterion("ori_integrity_level not like", value, "oriIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityLevelIn(List<String> values) {
            addCriterion("ori_integrity_level in", values, "oriIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityLevelNotIn(List<String> values) {
            addCriterion("ori_integrity_level not in", values, "oriIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityLevelBetween(String value1, String value2) {
            addCriterion("ori_integrity_level between", value1, value2, "oriIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityLevelNotBetween(String value1, String value2) {
            addCriterion("ori_integrity_level not between", value1, value2, "oriIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityStatusIsNull() {
            addCriterion("ori_integrity_status is null");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityStatusIsNotNull() {
            addCriterion("ori_integrity_status is not null");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityStatusEqualTo(String value) {
            addCriterion("ori_integrity_status =", value, "oriIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityStatusNotEqualTo(String value) {
            addCriterion("ori_integrity_status <>", value, "oriIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityStatusGreaterThan(String value) {
            addCriterion("ori_integrity_status >", value, "oriIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityStatusGreaterThanOrEqualTo(String value) {
            addCriterion("ori_integrity_status >=", value, "oriIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityStatusLessThan(String value) {
            addCriterion("ori_integrity_status <", value, "oriIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityStatusLessThanOrEqualTo(String value) {
            addCriterion("ori_integrity_status <=", value, "oriIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityStatusLike(String value) {
            addCriterion("ori_integrity_status like", value, "oriIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityStatusNotLike(String value) {
            addCriterion("ori_integrity_status not like", value, "oriIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityStatusIn(List<String> values) {
            addCriterion("ori_integrity_status in", values, "oriIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityStatusNotIn(List<String> values) {
            addCriterion("ori_integrity_status not in", values, "oriIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityStatusBetween(String value1, String value2) {
            addCriterion("ori_integrity_status between", value1, value2, "oriIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andOriIntegrityStatusNotBetween(String value1, String value2) {
            addCriterion("ori_integrity_status not between", value1, value2, "oriIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andOriEnrollTimeIsNull() {
            addCriterion("ori_enroll_time is null");
            return (Criteria) this;
        }

        public Criteria andOriEnrollTimeIsNotNull() {
            addCriterion("ori_enroll_time is not null");
            return (Criteria) this;
        }

        public Criteria andOriEnrollTimeEqualTo(Date value) {
            addCriterionForJDBCDate("ori_enroll_time =", value, "oriEnrollTime");
            return (Criteria) this;
        }

        public Criteria andOriEnrollTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("ori_enroll_time <>", value, "oriEnrollTime");
            return (Criteria) this;
        }

        public Criteria andOriEnrollTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("ori_enroll_time >", value, "oriEnrollTime");
            return (Criteria) this;
        }

        public Criteria andOriEnrollTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("ori_enroll_time >=", value, "oriEnrollTime");
            return (Criteria) this;
        }

        public Criteria andOriEnrollTimeLessThan(Date value) {
            addCriterionForJDBCDate("ori_enroll_time <", value, "oriEnrollTime");
            return (Criteria) this;
        }

        public Criteria andOriEnrollTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("ori_enroll_time <=", value, "oriEnrollTime");
            return (Criteria) this;
        }

        public Criteria andOriEnrollTimeIn(List<Date> values) {
            addCriterionForJDBCDate("ori_enroll_time in", values, "oriEnrollTime");
            return (Criteria) this;
        }

        public Criteria andOriEnrollTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("ori_enroll_time not in", values, "oriEnrollTime");
            return (Criteria) this;
        }

        public Criteria andOriEnrollTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("ori_enroll_time between", value1, value2, "oriEnrollTime");
            return (Criteria) this;
        }

        public Criteria andOriEnrollTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("ori_enroll_time not between", value1, value2, "oriEnrollTime");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityLevelIsNull() {
            addCriterion("cur_integrity_level is null");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityLevelIsNotNull() {
            addCriterion("cur_integrity_level is not null");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityLevelEqualTo(String value) {
            addCriterion("cur_integrity_level =", value, "curIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityLevelNotEqualTo(String value) {
            addCriterion("cur_integrity_level <>", value, "curIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityLevelGreaterThan(String value) {
            addCriterion("cur_integrity_level >", value, "curIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityLevelGreaterThanOrEqualTo(String value) {
            addCriterion("cur_integrity_level >=", value, "curIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityLevelLessThan(String value) {
            addCriterion("cur_integrity_level <", value, "curIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityLevelLessThanOrEqualTo(String value) {
            addCriterion("cur_integrity_level <=", value, "curIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityLevelLike(String value) {
            addCriterion("cur_integrity_level like", value, "curIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityLevelNotLike(String value) {
            addCriterion("cur_integrity_level not like", value, "curIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityLevelIn(List<String> values) {
            addCriterion("cur_integrity_level in", values, "curIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityLevelNotIn(List<String> values) {
            addCriterion("cur_integrity_level not in", values, "curIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityLevelBetween(String value1, String value2) {
            addCriterion("cur_integrity_level between", value1, value2, "curIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityLevelNotBetween(String value1, String value2) {
            addCriterion("cur_integrity_level not between", value1, value2, "curIntegrityLevel");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityStatusIsNull() {
            addCriterion("cur_integrity_status is null");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityStatusIsNotNull() {
            addCriterion("cur_integrity_status is not null");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityStatusEqualTo(String value) {
            addCriterion("cur_integrity_status =", value, "curIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityStatusNotEqualTo(String value) {
            addCriterion("cur_integrity_status <>", value, "curIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityStatusGreaterThan(String value) {
            addCriterion("cur_integrity_status >", value, "curIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityStatusGreaterThanOrEqualTo(String value) {
            addCriterion("cur_integrity_status >=", value, "curIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityStatusLessThan(String value) {
            addCriterion("cur_integrity_status <", value, "curIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityStatusLessThanOrEqualTo(String value) {
            addCriterion("cur_integrity_status <=", value, "curIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityStatusLike(String value) {
            addCriterion("cur_integrity_status like", value, "curIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityStatusNotLike(String value) {
            addCriterion("cur_integrity_status not like", value, "curIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityStatusIn(List<String> values) {
            addCriterion("cur_integrity_status in", values, "curIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityStatusNotIn(List<String> values) {
            addCriterion("cur_integrity_status not in", values, "curIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityStatusBetween(String value1, String value2) {
            addCriterion("cur_integrity_status between", value1, value2, "curIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andCurIntegrityStatusNotBetween(String value1, String value2) {
            addCriterion("cur_integrity_status not between", value1, value2, "curIntegrityStatus");
            return (Criteria) this;
        }

        public Criteria andCurEnrollTimeIsNull() {
            addCriterion("cur_enroll_time is null");
            return (Criteria) this;
        }

        public Criteria andCurEnrollTimeIsNotNull() {
            addCriterion("cur_enroll_time is not null");
            return (Criteria) this;
        }

        public Criteria andCurEnrollTimeEqualTo(Date value) {
            addCriterionForJDBCDate("cur_enroll_time =", value, "curEnrollTime");
            return (Criteria) this;
        }

        public Criteria andCurEnrollTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("cur_enroll_time <>", value, "curEnrollTime");
            return (Criteria) this;
        }

        public Criteria andCurEnrollTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("cur_enroll_time >", value, "curEnrollTime");
            return (Criteria) this;
        }

        public Criteria andCurEnrollTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("cur_enroll_time >=", value, "curEnrollTime");
            return (Criteria) this;
        }

        public Criteria andCurEnrollTimeLessThan(Date value) {
            addCriterionForJDBCDate("cur_enroll_time <", value, "curEnrollTime");
            return (Criteria) this;
        }

        public Criteria andCurEnrollTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("cur_enroll_time <=", value, "curEnrollTime");
            return (Criteria) this;
        }

        public Criteria andCurEnrollTimeIn(List<Date> values) {
            addCriterionForJDBCDate("cur_enroll_time in", values, "curEnrollTime");
            return (Criteria) this;
        }

        public Criteria andCurEnrollTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("cur_enroll_time not in", values, "curEnrollTime");
            return (Criteria) this;
        }

        public Criteria andCurEnrollTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("cur_enroll_time between", value1, value2, "curEnrollTime");
            return (Criteria) this;
        }

        public Criteria andCurEnrollTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("cur_enroll_time not between", value1, value2, "curEnrollTime");
            return (Criteria) this;
        }

        public Criteria andDamagedReasonIsNull() {
            addCriterion("damaged_reason is null");
            return (Criteria) this;
        }

        public Criteria andDamagedReasonIsNotNull() {
            addCriterion("damaged_reason is not null");
            return (Criteria) this;
        }

        public Criteria andDamagedReasonEqualTo(String value) {
            addCriterion("damaged_reason =", value, "damagedReason");
            return (Criteria) this;
        }

        public Criteria andDamagedReasonNotEqualTo(String value) {
            addCriterion("damaged_reason <>", value, "damagedReason");
            return (Criteria) this;
        }

        public Criteria andDamagedReasonGreaterThan(String value) {
            addCriterion("damaged_reason >", value, "damagedReason");
            return (Criteria) this;
        }

        public Criteria andDamagedReasonGreaterThanOrEqualTo(String value) {
            addCriterion("damaged_reason >=", value, "damagedReason");
            return (Criteria) this;
        }

        public Criteria andDamagedReasonLessThan(String value) {
            addCriterion("damaged_reason <", value, "damagedReason");
            return (Criteria) this;
        }

        public Criteria andDamagedReasonLessThanOrEqualTo(String value) {
            addCriterion("damaged_reason <=", value, "damagedReason");
            return (Criteria) this;
        }

        public Criteria andDamagedReasonLike(String value) {
            addCriterion("damaged_reason like", value, "damagedReason");
            return (Criteria) this;
        }

        public Criteria andDamagedReasonNotLike(String value) {
            addCriterion("damaged_reason not like", value, "damagedReason");
            return (Criteria) this;
        }

        public Criteria andDamagedReasonIn(List<String> values) {
            addCriterion("damaged_reason in", values, "damagedReason");
            return (Criteria) this;
        }

        public Criteria andDamagedReasonNotIn(List<String> values) {
            addCriterion("damaged_reason not in", values, "damagedReason");
            return (Criteria) this;
        }

        public Criteria andDamagedReasonBetween(String value1, String value2) {
            addCriterion("damaged_reason between", value1, value2, "damagedReason");
            return (Criteria) this;
        }

        public Criteria andDamagedReasonNotBetween(String value1, String value2) {
            addCriterion("damaged_reason not between", value1, value2, "damagedReason");
            return (Criteria) this;
        }

        public Criteria andSaveStatusIsNull() {
            addCriterion("save_status is null");
            return (Criteria) this;
        }

        public Criteria andSaveStatusIsNotNull() {
            addCriterion("save_status is not null");
            return (Criteria) this;
        }

        public Criteria andSaveStatusEqualTo(String value) {
            addCriterion("save_status =", value, "saveStatus");
            return (Criteria) this;
        }

        public Criteria andSaveStatusNotEqualTo(String value) {
            addCriterion("save_status <>", value, "saveStatus");
            return (Criteria) this;
        }

        public Criteria andSaveStatusGreaterThan(String value) {
            addCriterion("save_status >", value, "saveStatus");
            return (Criteria) this;
        }

        public Criteria andSaveStatusGreaterThanOrEqualTo(String value) {
            addCriterion("save_status >=", value, "saveStatus");
            return (Criteria) this;
        }

        public Criteria andSaveStatusLessThan(String value) {
            addCriterion("save_status <", value, "saveStatus");
            return (Criteria) this;
        }

        public Criteria andSaveStatusLessThanOrEqualTo(String value) {
            addCriterion("save_status <=", value, "saveStatus");
            return (Criteria) this;
        }

        public Criteria andSaveStatusLike(String value) {
            addCriterion("save_status like", value, "saveStatus");
            return (Criteria) this;
        }

        public Criteria andSaveStatusNotLike(String value) {
            addCriterion("save_status not like", value, "saveStatus");
            return (Criteria) this;
        }

        public Criteria andSaveStatusIn(List<String> values) {
            addCriterion("save_status in", values, "saveStatus");
            return (Criteria) this;
        }

        public Criteria andSaveStatusNotIn(List<String> values) {
            addCriterion("save_status not in", values, "saveStatus");
            return (Criteria) this;
        }

        public Criteria andSaveStatusBetween(String value1, String value2) {
            addCriterion("save_status between", value1, value2, "saveStatus");
            return (Criteria) this;
        }

        public Criteria andSaveStatusNotBetween(String value1, String value2) {
            addCriterion("save_status not between", value1, value2, "saveStatus");
            return (Criteria) this;
        }

        public Criteria andSaveConditionIsNull() {
            addCriterion("save_condition is null");
            return (Criteria) this;
        }

        public Criteria andSaveConditionIsNotNull() {
            addCriterion("save_condition is not null");
            return (Criteria) this;
        }

        public Criteria andSaveConditionEqualTo(String value) {
            addCriterion("save_condition =", value, "saveCondition");
            return (Criteria) this;
        }

        public Criteria andSaveConditionNotEqualTo(String value) {
            addCriterion("save_condition <>", value, "saveCondition");
            return (Criteria) this;
        }

        public Criteria andSaveConditionGreaterThan(String value) {
            addCriterion("save_condition >", value, "saveCondition");
            return (Criteria) this;
        }

        public Criteria andSaveConditionGreaterThanOrEqualTo(String value) {
            addCriterion("save_condition >=", value, "saveCondition");
            return (Criteria) this;
        }

        public Criteria andSaveConditionLessThan(String value) {
            addCriterion("save_condition <", value, "saveCondition");
            return (Criteria) this;
        }

        public Criteria andSaveConditionLessThanOrEqualTo(String value) {
            addCriterion("save_condition <=", value, "saveCondition");
            return (Criteria) this;
        }

        public Criteria andSaveConditionLike(String value) {
            addCriterion("save_condition like", value, "saveCondition");
            return (Criteria) this;
        }

        public Criteria andSaveConditionNotLike(String value) {
            addCriterion("save_condition not like", value, "saveCondition");
            return (Criteria) this;
        }

        public Criteria andSaveConditionIn(List<String> values) {
            addCriterion("save_condition in", values, "saveCondition");
            return (Criteria) this;
        }

        public Criteria andSaveConditionNotIn(List<String> values) {
            addCriterion("save_condition not in", values, "saveCondition");
            return (Criteria) this;
        }

        public Criteria andSaveConditionBetween(String value1, String value2) {
            addCriterion("save_condition between", value1, value2, "saveCondition");
            return (Criteria) this;
        }

        public Criteria andSaveConditionNotBetween(String value1, String value2) {
            addCriterion("save_condition not between", value1, value2, "saveCondition");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentIsNull() {
            addCriterion("save_environment is null");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentIsNotNull() {
            addCriterion("save_environment is not null");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentEqualTo(String value) {
            addCriterion("save_environment =", value, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentNotEqualTo(String value) {
            addCriterion("save_environment <>", value, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentGreaterThan(String value) {
            addCriterion("save_environment >", value, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentGreaterThanOrEqualTo(String value) {
            addCriterion("save_environment >=", value, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentLessThan(String value) {
            addCriterion("save_environment <", value, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentLessThanOrEqualTo(String value) {
            addCriterion("save_environment <=", value, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentLike(String value) {
            addCriterion("save_environment like", value, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentNotLike(String value) {
            addCriterion("save_environment not like", value, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentIn(List<String> values) {
            addCriterion("save_environment in", values, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentNotIn(List<String> values) {
            addCriterion("save_environment not in", values, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentBetween(String value1, String value2) {
            addCriterion("save_environment between", value1, value2, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andSaveEnvironmentNotBetween(String value1, String value2) {
            addCriterion("save_environment not between", value1, value2, "saveEnvironment");
            return (Criteria) this;
        }

        public Criteria andDiseaseIsNull() {
            addCriterion("disease is null");
            return (Criteria) this;
        }

        public Criteria andDiseaseIsNotNull() {
            addCriterion("disease is not null");
            return (Criteria) this;
        }

        public Criteria andDiseaseEqualTo(String value) {
            addCriterion("disease =", value, "disease");
            return (Criteria) this;
        }

        public Criteria andDiseaseNotEqualTo(String value) {
            addCriterion("disease <>", value, "disease");
            return (Criteria) this;
        }

        public Criteria andDiseaseGreaterThan(String value) {
            addCriterion("disease >", value, "disease");
            return (Criteria) this;
        }

        public Criteria andDiseaseGreaterThanOrEqualTo(String value) {
            addCriterion("disease >=", value, "disease");
            return (Criteria) this;
        }

        public Criteria andDiseaseLessThan(String value) {
            addCriterion("disease <", value, "disease");
            return (Criteria) this;
        }

        public Criteria andDiseaseLessThanOrEqualTo(String value) {
            addCriterion("disease <=", value, "disease");
            return (Criteria) this;
        }

        public Criteria andDiseaseLike(String value) {
            addCriterion("disease like", value, "disease");
            return (Criteria) this;
        }

        public Criteria andDiseaseNotLike(String value) {
            addCriterion("disease not like", value, "disease");
            return (Criteria) this;
        }

        public Criteria andDiseaseIn(List<String> values) {
            addCriterion("disease in", values, "disease");
            return (Criteria) this;
        }

        public Criteria andDiseaseNotIn(List<String> values) {
            addCriterion("disease not in", values, "disease");
            return (Criteria) this;
        }

        public Criteria andDiseaseBetween(String value1, String value2) {
            addCriterion("disease between", value1, value2, "disease");
            return (Criteria) this;
        }

        public Criteria andDiseaseNotBetween(String value1, String value2) {
            addCriterion("disease not between", value1, value2, "disease");
            return (Criteria) this;
        }

        public Criteria andProtectTimeIsNull() {
            addCriterion("protect_time is null");
            return (Criteria) this;
        }

        public Criteria andProtectTimeIsNotNull() {
            addCriterion("protect_time is not null");
            return (Criteria) this;
        }

        public Criteria andProtectTimeEqualTo(Date value) {
            addCriterionForJDBCDate("protect_time =", value, "protectTime");
            return (Criteria) this;
        }

        public Criteria andProtectTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("protect_time <>", value, "protectTime");
            return (Criteria) this;
        }

        public Criteria andProtectTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("protect_time >", value, "protectTime");
            return (Criteria) this;
        }

        public Criteria andProtectTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("protect_time >=", value, "protectTime");
            return (Criteria) this;
        }

        public Criteria andProtectTimeLessThan(Date value) {
            addCriterionForJDBCDate("protect_time <", value, "protectTime");
            return (Criteria) this;
        }

        public Criteria andProtectTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("protect_time <=", value, "protectTime");
            return (Criteria) this;
        }

        public Criteria andProtectTimeIn(List<Date> values) {
            addCriterionForJDBCDate("protect_time in", values, "protectTime");
            return (Criteria) this;
        }

        public Criteria andProtectTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("protect_time not in", values, "protectTime");
            return (Criteria) this;
        }

        public Criteria andProtectTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("protect_time between", value1, value2, "protectTime");
            return (Criteria) this;
        }

        public Criteria andProtectTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("protect_time not between", value1, value2, "protectTime");
            return (Criteria) this;
        }

        public Criteria andProtectMeasureIsNull() {
            addCriterion("protect_measure is null");
            return (Criteria) this;
        }

        public Criteria andProtectMeasureIsNotNull() {
            addCriterion("protect_measure is not null");
            return (Criteria) this;
        }

        public Criteria andProtectMeasureEqualTo(String value) {
            addCriterion("protect_measure =", value, "protectMeasure");
            return (Criteria) this;
        }

        public Criteria andProtectMeasureNotEqualTo(String value) {
            addCriterion("protect_measure <>", value, "protectMeasure");
            return (Criteria) this;
        }

        public Criteria andProtectMeasureGreaterThan(String value) {
            addCriterion("protect_measure >", value, "protectMeasure");
            return (Criteria) this;
        }

        public Criteria andProtectMeasureGreaterThanOrEqualTo(String value) {
            addCriterion("protect_measure >=", value, "protectMeasure");
            return (Criteria) this;
        }

        public Criteria andProtectMeasureLessThan(String value) {
            addCriterion("protect_measure <", value, "protectMeasure");
            return (Criteria) this;
        }

        public Criteria andProtectMeasureLessThanOrEqualTo(String value) {
            addCriterion("protect_measure <=", value, "protectMeasure");
            return (Criteria) this;
        }

        public Criteria andProtectMeasureLike(String value) {
            addCriterion("protect_measure like", value, "protectMeasure");
            return (Criteria) this;
        }

        public Criteria andProtectMeasureNotLike(String value) {
            addCriterion("protect_measure not like", value, "protectMeasure");
            return (Criteria) this;
        }

        public Criteria andProtectMeasureIn(List<String> values) {
            addCriterion("protect_measure in", values, "protectMeasure");
            return (Criteria) this;
        }

        public Criteria andProtectMeasureNotIn(List<String> values) {
            addCriterion("protect_measure not in", values, "protectMeasure");
            return (Criteria) this;
        }

        public Criteria andProtectMeasureBetween(String value1, String value2) {
            addCriterion("protect_measure between", value1, value2, "protectMeasure");
            return (Criteria) this;
        }

        public Criteria andProtectMeasureNotBetween(String value1, String value2) {
            addCriterion("protect_measure not between", value1, value2, "protectMeasure");
            return (Criteria) this;
        }

        public Criteria andProtectTypeIsNull() {
            addCriterion("protect_type is null");
            return (Criteria) this;
        }

        public Criteria andProtectTypeIsNotNull() {
            addCriterion("protect_type is not null");
            return (Criteria) this;
        }

        public Criteria andProtectTypeEqualTo(String value) {
            addCriterion("protect_type =", value, "protectType");
            return (Criteria) this;
        }

        public Criteria andProtectTypeNotEqualTo(String value) {
            addCriterion("protect_type <>", value, "protectType");
            return (Criteria) this;
        }

        public Criteria andProtectTypeGreaterThan(String value) {
            addCriterion("protect_type >", value, "protectType");
            return (Criteria) this;
        }

        public Criteria andProtectTypeGreaterThanOrEqualTo(String value) {
            addCriterion("protect_type >=", value, "protectType");
            return (Criteria) this;
        }

        public Criteria andProtectTypeLessThan(String value) {
            addCriterion("protect_type <", value, "protectType");
            return (Criteria) this;
        }

        public Criteria andProtectTypeLessThanOrEqualTo(String value) {
            addCriterion("protect_type <=", value, "protectType");
            return (Criteria) this;
        }

        public Criteria andProtectTypeLike(String value) {
            addCriterion("protect_type like", value, "protectType");
            return (Criteria) this;
        }

        public Criteria andProtectTypeNotLike(String value) {
            addCriterion("protect_type not like", value, "protectType");
            return (Criteria) this;
        }

        public Criteria andProtectTypeIn(List<String> values) {
            addCriterion("protect_type in", values, "protectType");
            return (Criteria) this;
        }

        public Criteria andProtectTypeNotIn(List<String> values) {
            addCriterion("protect_type not in", values, "protectType");
            return (Criteria) this;
        }

        public Criteria andProtectTypeBetween(String value1, String value2) {
            addCriterion("protect_type between", value1, value2, "protectType");
            return (Criteria) this;
        }

        public Criteria andProtectTypeNotBetween(String value1, String value2) {
            addCriterion("protect_type not between", value1, value2, "protectType");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNull() {
            addCriterion("operator is null");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNotNull() {
            addCriterion("operator is not null");
            return (Criteria) this;
        }

        public Criteria andOperatorEqualTo(String value) {
            addCriterion("operator =", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotEqualTo(String value) {
            addCriterion("operator <>", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThan(String value) {
            addCriterion("operator >", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThanOrEqualTo(String value) {
            addCriterion("operator >=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThan(String value) {
            addCriterion("operator <", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThanOrEqualTo(String value) {
            addCriterion("operator <=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLike(String value) {
            addCriterion("operator like", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotLike(String value) {
            addCriterion("operator not like", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorIn(List<String> values) {
            addCriterion("operator in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotIn(List<String> values) {
            addCriterion("operator not in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorBetween(String value1, String value2) {
            addCriterion("operator between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotBetween(String value1, String value2) {
            addCriterion("operator not between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andProtectIntellIsNull() {
            addCriterion("protect_intell is null");
            return (Criteria) this;
        }

        public Criteria andProtectIntellIsNotNull() {
            addCriterion("protect_intell is not null");
            return (Criteria) this;
        }

        public Criteria andProtectIntellEqualTo(String value) {
            addCriterion("protect_intell =", value, "protectIntell");
            return (Criteria) this;
        }

        public Criteria andProtectIntellNotEqualTo(String value) {
            addCriterion("protect_intell <>", value, "protectIntell");
            return (Criteria) this;
        }

        public Criteria andProtectIntellGreaterThan(String value) {
            addCriterion("protect_intell >", value, "protectIntell");
            return (Criteria) this;
        }

        public Criteria andProtectIntellGreaterThanOrEqualTo(String value) {
            addCriterion("protect_intell >=", value, "protectIntell");
            return (Criteria) this;
        }

        public Criteria andProtectIntellLessThan(String value) {
            addCriterion("protect_intell <", value, "protectIntell");
            return (Criteria) this;
        }

        public Criteria andProtectIntellLessThanOrEqualTo(String value) {
            addCriterion("protect_intell <=", value, "protectIntell");
            return (Criteria) this;
        }

        public Criteria andProtectIntellLike(String value) {
            addCriterion("protect_intell like", value, "protectIntell");
            return (Criteria) this;
        }

        public Criteria andProtectIntellNotLike(String value) {
            addCriterion("protect_intell not like", value, "protectIntell");
            return (Criteria) this;
        }

        public Criteria andProtectIntellIn(List<String> values) {
            addCriterion("protect_intell in", values, "protectIntell");
            return (Criteria) this;
        }

        public Criteria andProtectIntellNotIn(List<String> values) {
            addCriterion("protect_intell not in", values, "protectIntell");
            return (Criteria) this;
        }

        public Criteria andProtectIntellBetween(String value1, String value2) {
            addCriterion("protect_intell between", value1, value2, "protectIntell");
            return (Criteria) this;
        }

        public Criteria andProtectIntellNotBetween(String value1, String value2) {
            addCriterion("protect_intell not between", value1, value2, "protectIntell");
            return (Criteria) this;
        }

        public Criteria andProtectLmoIsNull() {
            addCriterion("protect_lmo is null");
            return (Criteria) this;
        }

        public Criteria andProtectLmoIsNotNull() {
            addCriterion("protect_lmo is not null");
            return (Criteria) this;
        }

        public Criteria andProtectLmoEqualTo(String value) {
            addCriterion("protect_lmo =", value, "protectLmo");
            return (Criteria) this;
        }

        public Criteria andProtectLmoNotEqualTo(String value) {
            addCriterion("protect_lmo <>", value, "protectLmo");
            return (Criteria) this;
        }

        public Criteria andProtectLmoGreaterThan(String value) {
            addCriterion("protect_lmo >", value, "protectLmo");
            return (Criteria) this;
        }

        public Criteria andProtectLmoGreaterThanOrEqualTo(String value) {
            addCriterion("protect_lmo >=", value, "protectLmo");
            return (Criteria) this;
        }

        public Criteria andProtectLmoLessThan(String value) {
            addCriterion("protect_lmo <", value, "protectLmo");
            return (Criteria) this;
        }

        public Criteria andProtectLmoLessThanOrEqualTo(String value) {
            addCriterion("protect_lmo <=", value, "protectLmo");
            return (Criteria) this;
        }

        public Criteria andProtectLmoLike(String value) {
            addCriterion("protect_lmo like", value, "protectLmo");
            return (Criteria) this;
        }

        public Criteria andProtectLmoNotLike(String value) {
            addCriterion("protect_lmo not like", value, "protectLmo");
            return (Criteria) this;
        }

        public Criteria andProtectLmoIn(List<String> values) {
            addCriterion("protect_lmo in", values, "protectLmo");
            return (Criteria) this;
        }

        public Criteria andProtectLmoNotIn(List<String> values) {
            addCriterion("protect_lmo not in", values, "protectLmo");
            return (Criteria) this;
        }

        public Criteria andProtectLmoBetween(String value1, String value2) {
            addCriterion("protect_lmo between", value1, value2, "protectLmo");
            return (Criteria) this;
        }

        public Criteria andProtectLmoNotBetween(String value1, String value2) {
            addCriterion("protect_lmo not between", value1, value2, "protectLmo");
            return (Criteria) this;
        }

        public Criteria andProtectLogsIsNull() {
            addCriterion("protect_logs is null");
            return (Criteria) this;
        }

        public Criteria andProtectLogsIsNotNull() {
            addCriterion("protect_logs is not null");
            return (Criteria) this;
        }

        public Criteria andProtectLogsEqualTo(String value) {
            addCriterion("protect_logs =", value, "protectLogs");
            return (Criteria) this;
        }

        public Criteria andProtectLogsNotEqualTo(String value) {
            addCriterion("protect_logs <>", value, "protectLogs");
            return (Criteria) this;
        }

        public Criteria andProtectLogsGreaterThan(String value) {
            addCriterion("protect_logs >", value, "protectLogs");
            return (Criteria) this;
        }

        public Criteria andProtectLogsGreaterThanOrEqualTo(String value) {
            addCriterion("protect_logs >=", value, "protectLogs");
            return (Criteria) this;
        }

        public Criteria andProtectLogsLessThan(String value) {
            addCriterion("protect_logs <", value, "protectLogs");
            return (Criteria) this;
        }

        public Criteria andProtectLogsLessThanOrEqualTo(String value) {
            addCriterion("protect_logs <=", value, "protectLogs");
            return (Criteria) this;
        }

        public Criteria andProtectLogsLike(String value) {
            addCriterion("protect_logs like", value, "protectLogs");
            return (Criteria) this;
        }

        public Criteria andProtectLogsNotLike(String value) {
            addCriterion("protect_logs not like", value, "protectLogs");
            return (Criteria) this;
        }

        public Criteria andProtectLogsIn(List<String> values) {
            addCriterion("protect_logs in", values, "protectLogs");
            return (Criteria) this;
        }

        public Criteria andProtectLogsNotIn(List<String> values) {
            addCriterion("protect_logs not in", values, "protectLogs");
            return (Criteria) this;
        }

        public Criteria andProtectLogsBetween(String value1, String value2) {
            addCriterion("protect_logs between", value1, value2, "protectLogs");
            return (Criteria) this;
        }

        public Criteria andProtectLogsNotBetween(String value1, String value2) {
            addCriterion("protect_logs not between", value1, value2, "protectLogs");
            return (Criteria) this;
        }

        public Criteria andAppend1IsNull() {
            addCriterion("append1 is null");
            return (Criteria) this;
        }

        public Criteria andAppend1IsNotNull() {
            addCriterion("append1 is not null");
            return (Criteria) this;
        }

        public Criteria andAppend1EqualTo(String value) {
            addCriterion("append1 =", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotEqualTo(String value) {
            addCriterion("append1 <>", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1GreaterThan(String value) {
            addCriterion("append1 >", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1GreaterThanOrEqualTo(String value) {
            addCriterion("append1 >=", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1LessThan(String value) {
            addCriterion("append1 <", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1LessThanOrEqualTo(String value) {
            addCriterion("append1 <=", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1Like(String value) {
            addCriterion("append1 like", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotLike(String value) {
            addCriterion("append1 not like", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1In(List<String> values) {
            addCriterion("append1 in", values, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotIn(List<String> values) {
            addCriterion("append1 not in", values, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1Between(String value1, String value2) {
            addCriterion("append1 between", value1, value2, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotBetween(String value1, String value2) {
            addCriterion("append1 not between", value1, value2, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend2IsNull() {
            addCriterion("append2 is null");
            return (Criteria) this;
        }

        public Criteria andAppend2IsNotNull() {
            addCriterion("append2 is not null");
            return (Criteria) this;
        }

        public Criteria andAppend2EqualTo(String value) {
            addCriterion("append2 =", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotEqualTo(String value) {
            addCriterion("append2 <>", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2GreaterThan(String value) {
            addCriterion("append2 >", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2GreaterThanOrEqualTo(String value) {
            addCriterion("append2 >=", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2LessThan(String value) {
            addCriterion("append2 <", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2LessThanOrEqualTo(String value) {
            addCriterion("append2 <=", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2Like(String value) {
            addCriterion("append2 like", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotLike(String value) {
            addCriterion("append2 not like", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2In(List<String> values) {
            addCriterion("append2 in", values, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotIn(List<String> values) {
            addCriterion("append2 not in", values, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2Between(String value1, String value2) {
            addCriterion("append2 between", value1, value2, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotBetween(String value1, String value2) {
            addCriterion("append2 not between", value1, value2, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend3IsNull() {
            addCriterion("append3 is null");
            return (Criteria) this;
        }

        public Criteria andAppend3IsNotNull() {
            addCriterion("append3 is not null");
            return (Criteria) this;
        }

        public Criteria andAppend3EqualTo(String value) {
            addCriterion("append3 =", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotEqualTo(String value) {
            addCriterion("append3 <>", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3GreaterThan(String value) {
            addCriterion("append3 >", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3GreaterThanOrEqualTo(String value) {
            addCriterion("append3 >=", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3LessThan(String value) {
            addCriterion("append3 <", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3LessThanOrEqualTo(String value) {
            addCriterion("append3 <=", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3Like(String value) {
            addCriterion("append3 like", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotLike(String value) {
            addCriterion("append3 not like", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3In(List<String> values) {
            addCriterion("append3 in", values, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotIn(List<String> values) {
            addCriterion("append3 not in", values, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3Between(String value1, String value2) {
            addCriterion("append3 between", value1, value2, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotBetween(String value1, String value2) {
            addCriterion("append3 not between", value1, value2, "append3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}